sum=even=odd=0
for i in range(10):
    a=int(input())
    sum+=a
    if a % 2 == 0:
        even += a
    else:
        odd += a
print("奇数之和为: ",odd)
print("偶数之和为: ",even)
print("平均值: ",sum/10)
